﻿Public Class fabricanteVO

    Private _id_fabricante As Integer
    Private _desc_fabricante As String
    '-------------------------------------
    ' MÉTODO CONSTRUTOR SEM PARAMETROS
    '-------------------------------------
    Sub New()
        _id_fabricante = Nothing
        _desc_fabricante = Nothing
    End Sub
    '-------------------------------------
    ' MÉTODO CONSTRUTOR COM PARAMETROS
    '-------------------------------------
    Sub New(ByVal id_fabricante As Integer, _
            ByVal desc_fabricante As String)
        _id_fabricante = id_fabricante
        _desc_fabricante = desc_fabricante
    End Sub

    Public Property ID_FABRICANTE() As Integer
        Get
            Return _id_fabricante
        End Get
        Set(ByVal value As Integer)
            _id_fabricante = value
        End Set
    End Property

    Public Property DESC_FABRICANTE() As String
        Get
            Return _desc_fabricante
        End Get
        Set(ByVal value As String)
            _desc_fabricante = value
        End Set
    End Property
End Class
